package org.example.dao.repository;

import org.example.domain.DiscussPost;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
//后面的泛型为主键的(id)类型
public interface ElasticRepository extends ElasticsearchRepository<DiscussPost,Integer> {
}
